<?php
namespace app\common\model;

use think\Model;


class adminMin extends Model
{

    protected $insert  = ['create_time', 'update_time', 'status'];

    protected function setCreateTimeAttr()
    {
        return time();
    }

    protected function setUpdateTimeAttr()
    {
        return time();
    }

    protected function setStatusAttr()
    {
        return '1';
    }

    protected function setPasswordAttr($value)
    {
        return md5($value);
    }



}